package com.qfjy.homework.liqingyu;

/**
 * @ProjectName: java2204-ch9-git-boot
 * @ClassName: Circle
 * @Author: Liqingyu
 * @Date: 2022/11/10 19:10
 */
public class Circle implements Shape {
    private String color;
    private int radius;

    public Circle(String color) {
        this.color = color;
    }

    public void setRadius(int radius) {
        this.radius = radius;
    }

    @Override
    public void draw() {
        System.out.println("圆: [颜色 : " + color + ", 半径 :" + radius + "]");
    }
}
